<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<style>
    td > ul {
        margin-left: 0;
        padding-left: 16px;
    }
</style>

<!-- row -->
<div class="row">
    <article class="col-sm-12 col-md-12 col-lg-12 sortable-grid ui-sortable">
        <!-- Widget ID (each widget will need unique ID)-->
        <div class="jarviswidget well" id="wid-id-3" data-widget-colorbutton="false" data-widget-editbutton="false"
             data-widget-togglebutton="false" data-widget-deletebutton="false" data-widget-fullscreenbutton="false"
             data-widget-custombutton="false" data-widget-sortable="false">
            <!-- widget options:
            usage: <div class="jarviswidget" id="wid-id-0" data-widget-editbutton="false">

            data-widget-colorbutton="false"
            data-widget-editbutton="false"
            data-widget-togglebutton="false"
            data-widget-deletebutton="false"
            data-widget-fullscreenbutton="false"
            data-widget-custombutton="false"
            data-widget-collapsed="true"
            data-widget-sortable="false"

            -->
            <header>
                <!--<span class="widget-icon"> <i class="fa fa-comments"></i> </span>-->
                <!--<h2>Default Tabs with border </h2>-->

            </header>

            <!-- widget div-->
            <div>
                <!-- widget edit box -->
                <div class="jarviswidget-editbox">
                    <!-- This area used as dropdown edit box -->

                </div>
                <!-- end widget edit box -->

                <!-- widget content -->
                <div class="widget-body">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
                            <h4><spring:message code="EMAIL_SETTINGS"/></h4>
                        </div>
                        <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8 text-align-right">

                            <div class="btn-group">
                                <a id="btn_addEmail" class="btn btn-sm btn-success" href="#system/email/create">
                                    <i class="fa fa-plus"></i>&nbsp;<spring:message code="EMAIL_NEW_SETTINGS"/>
                                </a>
                            </div>
                        </div>
                    </div>
                    <hr class="simple">

                    <!--<div class="widget-body-toolbar">-->
                    <!--<div class="row">-->
                    <!--<div class="col-sm-4">-->
                    <!--<i class="fa fa-lock fa-2x"></i> <span class="font-lg">系统资源设定</span>-->
                    <!--</div>-->
                    <!--<div class="col-sm-8 text-align-right">-->

                    <!--<div class="btn-group">-->
                    <!--<a id="btn_addrole" class="btn btn-sm btn-success" href="javascript:void(0)">-->
                    <!--<i class="fa fa-plus"></i>-->
                    <!--创建新角色-->
                    <!--</a>-->
                    <!--</div>-->
                    <!--</div>-->
                    <!--</div>-->
                    <!--</div>-->

                    <div class="row">
                                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                                            <h4><spring:message code="EMAIL_CONTENT_TITLE"/></h4>
                                            <span><spring:message code="EMAIL_CONTENT"/></span>

                                            <br>
                                            <br>
                                            <table id="dt_emails" class="table table-striped table-hover" width="100%">
                                                <thead>
                                                <tr>
                                        <th data-hide="phone"><spring:message code="TABLE_NO"/></th>
                                        <th data-class="expand"><spring:message code="EMAIL_ID"/></th>
                                        <th><spring:message code="EMAIL_NAME"/></th>
                                        <th><spring:message code="EMAIL_DETAIL"/></th>
                                        <th class="hidden-xs hidden-sm "><spring:message code="EMAIL_STATUS"/></th>
                                        <th><spring:message code="GLOBAL_OPERATION"/></th>
                                    </tr>
                                </thead>
                                <tbody>
                                <%--<tr>
                                    <td>
                                        <strong>Intelligentgroup</strong><br>
                                        <span>intelligentgroup mail server</span>
                                    </td>
                                    <td>
                                        <dl class="dl-horizontal">
                                            <dt>From</dt>
                                            <dd>manage@intelligentgroup.cn</dd>
                                            <dt>Prefix</dt>
                                            <dd>[ISPC]</dd>
                                            <dt>Host</dt>
                                            <dd>127.0.0.1</dd>
                                            <dt>SMTP Port</dt>
                                            <dd>25</dd>
                                            <dt>Username</dt>
                                            <dd>manage</dd>
                                        </dl>
                                    </td>
                                    <td>
                                        <span class="label label-success">Enable</span>
                                    </td>
                                    <td>
                                        <a href="javascript:void(0);">Edit</a>
                                        <a href="javascript:void(0);">Delete</a>
                                        <a href="javascript:void(0);">Testing</a>
                                    </td>
                                </tr>--%>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
                <!-- end widget content -->
            </div>
            <!-- end widget div -->
        </div>
        <!-- end widget -->
    </article>

</div>
<!-- end row -->

<script src="js/core/business/email/emailInit.js"></script>

</body>

</html>